package com.xuhai.blog19.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xuhai.blog19.admin.entity.BannerEntity;

import java.util.List;

/**
 * @Author PangJunjie
 * @Date 2023/2/8/008
 */
public interface BannerService extends IService<BannerEntity> {
    IPage<BannerEntity> getPage(int page, int limit, BannerEntity banner);

    List<BannerEntity> getListByType(int type);
}
